/*    */ package org.poebot.hal;
/*    */ 
/*    */ import javax.swing.JList;
/*    */ 
/*    */ public class ChatList extends JList
/*    */ {
/*    */   private static final long serialVersionUID = 1L;
/*    */ 
/*    */   public ChatList()
/*    */   {
/* 11 */     super(new ChatListModel());
/* 12 */     setCellRenderer(new ChatListCellRenderer());
/*    */   }
/*    */ 
/*    */   public ChatListModel getModel()
/*    */   {
/* 18 */     return (ChatListModel)super.getModel();
/*    */   }
/*    */ 
/*    */   public void addText(String text)
/*    */   {
/* 23 */     getModel().addEntry(text);
/*    */   }
/*    */ 
/*    */   public void clearText()
/*    */   {
/* 28 */     getModel().clear();
/*    */   }
/*    */ }

/* Location:           C:\workspace\dognuts\dognuts\dognuts.jar
 * Qualified Name:     org.dognuts.gui.ChatList
 * JD-Core Version:    0.6.0
 */